<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/common/taglibs.jsp"%>
<div class="main">

	<div id="bd_main_hd" class="hd">

		<div class="main-title">
				<strong id="tips_title">您关注的资讯</strong>
		</div>
	</div>

	<div class="bd">
		<c:choose>
			<c:when test="${pm.result eq null}">
				<div id="list_container" class="list_container">
					<div id='loading' style='color: #999; margin: 70px 0 0 250px;'>
						<font color="red" size="3">请设置您的资讯关注类型！</font>
					</div>
				</div>
			</c:when>
			<c:otherwise>
				<c:forEach var="ARTICLE" items="${pm.result}">
					<div id="list_container" class="list_container">
						<div  style='color: #999; margin: 5px 0 0 15px;'>
						标题：<a href="#">${ARTICLE.articleTitle }</a>&nbsp;&nbsp;
						发表于：<fmt:formatDate value="${ARTICLE.articleCreateTime}" pattern="yyyy年MM月dd日" />
						</div>
						<div  style='margin: 5px 0 0 15px;'>
							<font size="2">${fn:substring(fht:delHTMLTag(ARTICLE.articleSummary),0,100)}......</font>
						</div>
					</div>
				</c:forEach>
			</c:otherwise>
		</c:choose>


	</div>

	<div class="ft">

		<div id="bd_main_ft_pagearea" class="page-area">

			<!--common pagination-->
			<!-- 分页信息 -->
			<div align="right">
				<c:if test="${pm.result ne null}">
					<script>
			         	var pg = new showPages('pg');
			         	pg.pageCount = ${pm.maxPage};
			         	pg.argName = 'currentPage';
			         	pg.printHtml();
         			</script>
				</c:if>
			</div>
			<br />

		</div>

	</div>

</div>